const path = require("path");
module.exports = {
  entry: "./src/index.js",
  output: {
    path: path.resolve(__dirname, "dist"),
    filename: "mylib.js",
    clean: true,
    library: {
      name: "mylib",
      type: "window",
    },
    globalObject: "this",
  },
  // experiments: { outputModule: true },
};
